package com.github_Dididipapa.shortlink.admin.dao.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.github_Dididipapa.shortlink.admin.dao.entity.User;
import com.github_Dididipapa.shortlink.admin.dto.resp.UserRespDTO;
import org.apache.ibatis.annotations.Mapper;

/**
 * @description: To be defined
 * @author: dididi_papa
 * @email: mitis1624087624@gmail.com
 * @date: 2025/09/09  14:07
 */
@Mapper
public interface UserMapper extends BaseMapper<User> {

    UserRespDTO getUserByUsername(String username);

    void save(User user);
}
